<%@ page import="org.hr.organisation.DummyUser" %>



<div class="fieldcontain ${hasErrors(bean: dummyUserInstance, field: 'boss', 'error')} required">
	<label for="boss">
		<g:message code="dummyUser.boss.label" default="Boss" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="boss" name="boss.id" from="${org.hr.organisation.DummyUser.list()}" optionKey="id" required="" value="${dummyUserInstance?.boss?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: dummyUserInstance, field: 'firstname', 'error')} ">
	<label for="firstname">
		<g:message code="dummyUser.firstname.label" default="Firstname" />
		
	</label>
	<g:textField name="firstname" value="${dummyUserInstance?.firstname}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: dummyUserInstance, field: 'lastname', 'error')} ">
	<label for="lastname">
		<g:message code="dummyUser.lastname.label" default="Lastname" />
		
	</label>
	<g:textField name="lastname" value="${dummyUserInstance?.lastname}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: dummyUserInstance, field: 'userId', 'error')} ">
	<label for="userId">
		<g:message code="dummyUser.userId.label" default="User Id" />
		
	</label>
	<g:textField name="userId" value="${dummyUserInstance?.userId}"/>
</div>

